﻿using System;
using UnityEngine;
using Unity.Mathematics;

namespace Jinndev {

    public interface IDimension2D {

        int2 Dimension { get; }

        bool IsInRange(int x, int y);

        bool IsInRange(int2 index);

        bool IsInRange(int2 startIndex, int2 dimension);

    }

}
